import http from '@/request/request'

export function getApproveList() {
    return http({
        url: '/workflow/list',
        method: 'get',
    })
}

export function approveReq(data) {
    return http({
        url: '/workflow/approve',
        method: 'post',
        data: data,
    })
}

export function rejectReq(data) {
    return http({
        url: '/workflow/reject',
        method: 'post',
        data: data,
    })
}


